<?php
	define('WEBAPP_ROOT', str_replace('webapp.inc.php', '', str_replace('\\', '/', __FILE__))); 
	
require_once MOD_ROOT.'content/content.class.php';
$c = new content();

	switch($action){
		default:
			
			
			if($contentid){
				$r = $c->get($contentid);
				extract($r);
			}
			else{
			}
			
		break;
		
	}
	
	include template('content.html','webapp');
?>